/**
 * 
 */
package cn.edu.cqu.bysj.wm.util;

import java.util.Comparator;

import org.neo4j.graphdb.Node;

/**
 * @author Meng
 */
public class NodeComparator implements Comparator<Node> {

	public int compare(Node n1, Node n2) {
		return n1.getId() >= n2.getId() ? 1 : -1;
	}

}
